import {  InitGet, InitPost } from '@/ajax';
const GET =InitGet('site')
const POST = InitPost('auth'); 
 
 
export function getHomeImages(name: string) {
  return GET({
    url: "/slider/" + name,
  });
}  
 
/**
 * 登录
 */
export function doLogin(data:any) {
  return POST(data);
}

